package com.ccut.lc.service;

import com.ccut.lc.model.Product;
import com.ccut.lc.model.ProductType;
import com.ccut.lc.model.QueryVo;
import com.ccut.lc.utils.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface ProductListService {
	public void addProduct(Product pl);
	public Page<Product> selProductList(QueryVo queryVo);
	public int getTotal(QueryVo queryVo);
	Product findProductByID(Integer id);
	public List<ProductType> findProductType();

	void updateProduct(Product product);

	void deleteProduct(Integer id);
}
